package com.clear.factory.factoryMethod2.resourceFactory.impl;

//import com.clear.factory.factoryMethod2.Resource;
import com.clear.factory.factoryMethod2.product.AbstractResource;
import com.clear.factory.factoryMethod2.product.impl.DefaultResource;
import com.clear.factory.factoryMethod2.resourceFactory.IResourceLoader;

public class DefaultResourceLoader implements IResourceLoader {
    @Override
    public AbstractResource load(String url) {
        // 中间省略具体的业务逻辑
        // ...
        return new DefaultResource();
    }
}
